<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增库存调拨回传')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-StockTransfer-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">行项目编号：</label>
                <div class="col-sm-8">
                    <input name="ZEILE" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工厂：</label>
                <div class="col-sm-8">
                    <input name="WERKS" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标工厂：</label>
                <div class="col-sm-8">
                    <input name="werksTo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料号：</label>
                <div class="col-sm-8">
                    <input name="MATNR" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标物料号：</label>
                <div class="col-sm-8">
                    <input name="matnrTo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">源库存地点：</label>
                <div class="col-sm-8">
                    <input name="LGORT" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标库存地点：</label>
                <div class="col-sm-8">
                    <input name="lgortTo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">以输入单位计的数量：</label>
                <div class="col-sm-8">
                    <input name="ERFMG" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">条目单位：</label>
                <div class="col-sm-8">
                    <input name="ERFME" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">批号：</label>
                <div class="col-sm-8">
                    <input name="CHARG" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标批号：</label>
                <div class="col-sm-8">
                    <input name="chargTo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工单：</label>
                <div class="col-sm-8">
                    <input name="AUFNR" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预留：</label>
                <div class="col-sm-8">
                    <input name="RSNUM" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预留行号：</label>
                <div class="col-sm-8">
                    <input name="RSPOS" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">源销售订单号：</label>
                <div class="col-sm-8">
                    <input name="KDAUF" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">源销售订单行号：</label>
                <div class="col-sm-8">
                    <input name="KDPOS" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标销售订单号：</label>
                <div class="col-sm-8">
                    <input name="matKdauf" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标销售订单行号：</label>
                <div class="col-sm-8">
                    <input name="matKdpos" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">主键标识：</label>
                <div class="col-sm-8">
                    <input name="tranGuid" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "sap/StockTransfer"
        $("#form-StockTransfer-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-StockTransfer-add').serialize());
            }
        }
    </script>
</body>
</html>